import { Injectable } from '@angular/core';
import { APIBase } from 'app/modules/base/api-base';
import { HttpClient } from '@angular/common/http';

@Injectable({
	providedIn: 'root',
})
export class SoftwareCategoryService extends APIBase<SoftwareCategory, SoftwareCategory> {
	constructor(private http: HttpClient) {
		super(http, '/api/admin/software_category');
	}
}
interface SoftwareCategory {
	id?: number;
	name: string;
}
